import request from '@/utils/request'

const startUrl = '/feedback'

/**
 * 申请活动
 * @param userStore
 * @param activityId
 * @param textFeedback
 */
export const submitFeedback = (userStore, activityId, textFeedback) =>
    request.post(startUrl + '/submit', {activityId, textFeedback}, {
        headers: {
            'User-Token': userStore.$state.jwtEntity.jwt,
            'User-Secret-Key': userStore.$state.jwtEntity.signKeyStr
        }
    })
